cowajax.js - AJAX Code Search ~ Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples
Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples: cowajax.js - AJAX Code Search

cowajax.js - AJAX Code Search

The CowAJAX is an open source AJAX framework for creating powerful, web-based, AJAX applications. CowAJAX makes it easy to call PHP (or other server side language) functions from web-pages via JavaScript without refreshing pages. Framework includes a set of controls, written in JavaScript, for building rich web applications using DOM scripting, DHTML and AJAX.


// Copyright (c) 2006 J. Woodo (http://www.phpcow.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

var CowAjax = {
path: null,
include: function(jsfile) {
document.write('');
},
load: function() {
var scripts = document.getElementsByTagName("script");
for(var idx in scripts) {
var src = scripts[idx].src;
if (src && src.match(/cowajax\.js(\?.*)?$/)) {
CowAjax.path = src.replace(/cowajax\.js(\?.*)?$/,'');
CowAjax.include(CowAjax.path + 'js/dhtml.lib.js');
CowAjax.include(CowAjax.path + 'js/ajax.lib.js');
CowAjax.include(CowAjax.path + 'js/event.js');
CowAjax.include(CowAjax.path + 'js/drag.js');
CowAjax.include(CowAjax.path + 'js/lightbox.js');
break;
}
}
}
}

CowAjax.load();

Related Posts by Categories

0 comments:

Useful Links on Adobe Flex

Your Ad Here

Latest Books on Adobe Flex